package com.hgkj.cloud.base.service;

import com.hgkj.cloud.base.common.PageInfo;
import com.hgkj.cloud.base.domain.TenantPsychologicalAcvitity;

import java.util.List;
import java.util.Map;

public interface TenantPsychologicalAcvitityService {

    int deleteByPrimaryKey(Long id);

    int insert(TenantPsychologicalAcvitity record);

    int insertSelective(TenantPsychologicalAcvitity record);

    TenantPsychologicalAcvitity selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TenantPsychologicalAcvitity record);

    int updateByPrimaryKey(TenantPsychologicalAcvitity record);

    List<Map<String, Object>> listPsychologicalAcvitity(PageInfo pi, Map<String, Object> map);

    Map<String, Object> getPsychologicalAcvitityByid(long id);

    long listPsychologicalAcvitityCount(Map<String, Object> map);

    int delPsychologicalAcvitity(Long id);

    List<Map<String, Object>> getPsychologicalAcvititystatistics(Map<String, Object> map);

    List<Map<String, Object>> statMonthActivity(Map<String, Object> map);

    List<Map<String, Object>> statAreaActivity(Map<String, Object> map);

    List<Map<String, Object>> statTypeActivity(Map<String, Object> map);
}
